package com.sgb.merchant.view.adapter;

import android.content.Context;


import com.sgb.link.entity.merchant.IndustryCategoryEntity;
import com.sgb.merchant.BR;
import com.sgb.merchant.R;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

public class ItemTypeAdapter extends BaseRecycleAdapter<IndustryCategoryEntity> {

    public ItemTypeAdapter(Context context, List<IndustryCategoryEntity> datas) {
        super(context, R.layout.merchant_item_select_type, datas);
    }

    @Override
    public void convert(ItemViewHolder holder, IndustryCategoryEntity entity) {
        holder.setBinding(BR.viewModel,entity);
    }
}
